package com.aizhixin.lab.task.repository;

import com.aizhixin.lab.task.entity.ReleaseTask;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface ReleaseTaskRepository extends JpaRepository<ReleaseTask, String> {
	ReleaseTask findByIdAndDeleteFlag(String id,Integer deleteFlag);
	List<ReleaseTask> findByCourseIdAndCreatedBy(String courseId,Long createBy);
	List<ReleaseTask> findByCourseIdAndCreatedByAndClassId(String courseId,Long createBy,Long classId);

}
